<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
    <title>聊天室</title>
    <link rel="stylesheet" href="<%- rootUrl %>/res/adapter.css"/>
    <link rel="stylesheet" href="<%- rootUrl %>/res/chat.css"/>
    <link rel='stylesheet' href='<%- rootUrl %>/node_modules/font-awesome/css/font-awesome.min.css' />
    <script src="<%- rootUrl %>/node_modules/jquery/dist/jquery.min.js"></script>
    <script src="<%- rootUrl %>/res/adapter.js"></script>
</head>
<body>
<alljs-widget><user><%- username_uniq %></user><message-top><%- message %></message-top><block><%- block %></block></alljs-widget>
<%- components['signhead'] ? include(components['signhead'], this) : '' %>
<div class="main-body">
    <section class="chatRoomInfo">

        <div class="info">频道:&nbsp;<span class="channel"></span>, 当前共有<span class="chatNum">0</span>人在线:&nbsp;<span class="chatList"></span></div>
    </section>
</div>
<div class="main-footer">
    <div class="input">
        <input type="text" name="msg" value="" />
    </div>
    <button type="button" class="send">发送(Enter)</button>
</div>
<script src="<%- rootUrl %>/node_modules/socket.io-client/dist/socket.io.js"></script>
<script src="<%- rootUrl %>/res/chat.js"></script>
</body>
</html>